package org.jeecg.modules.kuner.hirebase.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 招聘信息
 * @Author: jeecg-boot
 * @Date: 2025-02-18
 * @Version: V1.0
 */
@Data
@TableName("kr_hire_base")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "kr_hire_base对象", description = "招聘信息")
public class KrHireBase implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**
     * 发布人
     */
    @Excel(name = "发布人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @ApiModelProperty(value = "发布人")
    private String publishUser;
    /**
     * 标题
     */
    @Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private String title;
    /**
     * 工作描述
     */
    @Excel(name = "工作描述", width = 15)
    @ApiModelProperty(value = "工作描述")
    private String msg;
    /**
     * 工作福利
     */
    @Excel(name = "工作福利", width = 15)
    @ApiModelProperty(value = "工作福利")
    private String benefit;
    /**
     * 工作经验
     */
    @Excel(name = "工作经验", width = 15)
    @Dict(dicCode = "exp_info")
    @ApiModelProperty(value = "工作经验")
    private String experience;
    /**
     * 学历
     */
    @Excel(name = "学历", width = 15)
    @Dict(dicCode = "edu_info")
    @ApiModelProperty(value = "学历")
    private String edu;
    /**
     * 起始薪资
     */
    @Excel(name = "起始薪资", width = 15)
    @ApiModelProperty(value = "起始薪资")
    private BigDecimal salaryS;
    /**
     * 结束薪资
     */
    @Excel(name = "结束薪资", width = 15)
    @ApiModelProperty(value = "结束薪资")
    private BigDecimal salaryE;
    /**
     * 工作关键字
     */
    @Excel(name = "工作关键字", width = 15)
    @ApiModelProperty(value = "工作关键字")
    private String workTag;
    /**
     * 工作城市
     */
    @Excel(name = "工作城市", width = 15)
    @ApiModelProperty(value = "工作城市")
    private String workCity;
    /**
     * 具体地址
     */
    @Excel(name = "具体地址", width = 15)
    @ApiModelProperty(value = "具体地址")
    private String address;
    /**
     * 工作分类
     */
    @Excel(name = "工作分类", width = 15, dictTable = "kr_type_base", dicText = "name", dicCode = "id")
    @Dict(dictTable = "kr_type_base", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "工作分类")
    private String type;
    /**
     * 状态
     */
    @Excel(name = "状态", width = 15, dicCode = "hire_status")
    @Dict(dicCode = "hire_status")
    @ApiModelProperty(value = "状态", notes = "0草稿，1上架，2下架")
    private String status;

    @ApiModelProperty(value = "公司信息")
    private String comp;
}
